﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>  
    <script >
        var dojoConfig = { baseUrl: "itfanr/", packages: [{name:"test",location:"test"}]};
    </script>
    <script src="dojo/dojo/dojo.js"></script>
    <script >
 
        require(
       ["dojo/ready", "test/person"],
       function (ready, person) {
           ready(function () {
               var id = "selected_text";
               var person1 = new person("小明");
               alert(person1.name);
           });
       });
       
    </script>   
</head>
<body>
    <h1 id="selected_text">Hello</h1>
   
</body>
</html>
